using UnityEngine;

public class Map : MonoBehaviour
{
	public MapSpawnPoint[] spawnPoints;

	public void Rotate(float degree)
	{
		base.transform.rotation = Quaternion.Euler(new Vector3(0f, degree, 0f));
	}

	public Transform[] GetSpawnPoints(int spawnIndex)
	{
		return spawnPoints[spawnIndex % spawnPoints.Length].points;
	}
}
